//
//  PopSheet.h
//  PopSheet
//
//  Created by G2 on 2021/7/15.
//

#import <UIKit/UIKit.h>

@interface UIScrollView(PopSheet)<UIScrollViewDelegate>

@property (nonatomic) BOOL hookedByPopSheet;

@end

@interface PopSheet : UIView

@property (nonatomic, weak) UIView *content;

- (void)showInView:(UIView *)superView block:(void (^)(BOOL dismissed))block;
- (void)dismiss;

@end
